package com.cskaoyan.mapper;

import com.cskaoyan.bean.PO.MarketPermissionsSecond;
import com.cskaoyan.bean.PO.MarketPermissionsSecondExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketPermissionsSecondMapper {
    long countByExample(MarketPermissionsSecondExample example);

    int deleteByExample(MarketPermissionsSecondExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermissionsSecond record);

    int insertSelective(MarketPermissionsSecond record);

    List<MarketPermissionsSecond> selectByExample(MarketPermissionsSecondExample example);

    MarketPermissionsSecond selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketPermissionsSecond record, @Param("example") MarketPermissionsSecondExample example);

    int updateByExample(@Param("record") MarketPermissionsSecond record, @Param("example") MarketPermissionsSecondExample example);

    int updateByPrimaryKeySelective(MarketPermissionsSecond record);

    int updateByPrimaryKey(MarketPermissionsSecond record);
}